package com.moli.iov.alarm.remote;

import com.moli.iov.alarm.model.po.StatAlarm;
import com.moli.iov.rest.RestResponse;

import java.util.Map;

/**
 *
 * Alarm quantity stat .
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/14 19:38 AM.
 *
 */
public interface IAlarmQuantityStatRemoteService {

  /**
   * Execute generic alarm quantity stat.
   * @param currentDate Current date.
   * @return Whether success.
   */
  RestResponse<String> executeGenericAlarmQuantityStat(String currentDate);

  /**
   * Save stat alarm entity object.
   * @param statAlarm Stat alarm entity object.
   * @return Whether success.
   */
  StatAlarm saveStatAlarm(StatAlarm statAlarm);

}
